<template>
  <div class="setup">
      <div>{{ count }}</div>
      <button @click="increment">+1</button>
      <helloworld :message="123" @increment="incre"></helloworld>
  </div>
</template>

<script setup>
import { ref } from 'vue'
import helloworld from './helloworld.vue'
const count = ref(0)
const increment = () => count.value++
const incre = (payload) => {
  console.warn('payload', payload)
}
</script>

<style scoped>

</style>
